package com.cqupt.mapper;

import com.cqupt.pojo.Loginlogs;
import com.cqupt.pojo.OperationLogEntity;

import java.util.List;
import java.util.Map;

public interface LoginlogsMapper {

    /**
     * 查询所有日志
     * @return
     */
    List<Loginlogs> queryAllLogs();

    /**
     * 增加日志
     * @param loginlogs
     * @return
     */
    int addLoginlogs(Loginlogs loginlogs);

    /**
     * 查询过滤条件日志
     * @param params
     * @return
     */
    List<Loginlogs> queryLogsByFilter(Map<String, Object> params);
}
